package com.itqf.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

/**
 * @Description:
 * @Company: 千锋互联
 * @Author: 李丽婷
 * @Date: 2020/10/9
 * @Time: 上午11:03
 */
@Data //lombok
@TableName("emp")//一致 一般省略
public class Emp {

    @TableId(value = "emp_id",type = IdType.AUTO)
    private  Integer empId;//emp_id
    //
   // private  int empId;

    @TableField("name")
    private String name;
    private  Integer salary;
    private  Integer age;
    private  String sex;
    @TableField("d_id")
    private  Integer deptId;

}
